package com.dwxt.community.dao;

import com.dwxt.community.entity.BroadcastHot;
import com.dwxt.community.entity.BroadcastHotExample;
import java.util.List;

import com.dwxt.community.entity.vo.BroadcastHotVo;
import org.apache.ibatis.annotations.Param;

public interface BroadcastHotMapper {
    int countByExample(BroadcastHotExample example);

    int deleteByExample(BroadcastHotExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BroadcastHot record);

    int insertSelective(BroadcastHot record);

    List<BroadcastHot> selectByExample(BroadcastHotExample example);

    BroadcastHot selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BroadcastHot record, @Param("example") BroadcastHotExample example);

    int updateByExample(@Param("record") BroadcastHot record, @Param("example") BroadcastHotExample example);

    int updateByPrimaryKeySelective(BroadcastHot record);

    int updateByPrimaryKey(BroadcastHot record);

    List<BroadcastHotVo> selectBroadcastInfoByshowSortDesc();

    BroadcastHot selectByBroadcastId(String broadcastId);

    BroadcastHot selectByShowSort(Integer sort);

    Integer maxShowSort();

    Integer minShowSort();

    BroadcastHot selectLastData(Integer showSort);

    BroadcastHot selectNextData(Integer showSort);
}